import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

const router = new Router({
    routes: [
        {
            path: '/',
            name: 'Home',
            component: resolve => require(['@/components/Home.vue'], resolve)
        },
        {
            path: '/device/reader',
            name:'Reader',
            component: resolve => require(['@/components/device/Reader.vue'], resolve)
        }
    ]
})
export default router